#!bin/bash

sum(){
	sum=$[$1+$2+$3]
	echo $sum

}
read -p "输入数值：" n1
read -p "输入数值：" n2
read -p "输入数值：" n3

sum $n1 $n2 $n3
